<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!--STATUS OK-->
<html>
<head>
	<meta http-equiv="content-type" content="text/html" charset="utf-8" />
	<link rel="stylesheet" href="/static/tbbase.css" type="text/css" />
	<link rel="stylesheet" href="/static/newfrs.css" type="text/css" />
	<link href="/static/default.css" rel="stylesheet" type="text/css">
	<title>avfun论坛</title>
</head>
<body leftmargin="0" topmargin="0" align=center>
<center>
  <table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="33" rowspan="2">&nbsp;</td>
      <td width="221" rowspan="2"><a href="/"><img src="/static/logo.png" width="189" height="53" border="0" /></a></td>

      <td rowspan="2">&nbsp;      </td>
  </table>
  <table width="900" border="0" align="center" cellpadding="0" cellspacing="0" class="tbspan">
    <tr>
      <td width="10" height="36" background="/static/31bg1.gif"><img src="/static/31c1.gif" width="9" height="36"></td>
      <td width="880" background="/static/31bg1.gif">
          <a href='/'>首页</a>&nbsp;|&nbsp;
          <a href='/list/anime/1'>动画</a>&nbsp;|&nbsp; 
          <a href='/list/music/1'>音乐</a>&nbsp;|&nbsp;
          <a href='/list/game/1'>游戏</a>&nbsp;|&nbsp;
          <a href='/list/ent/1'>娱乐</a>&nbsp;|&nbsp;
          <a href='/list/zj/1'>番影</a>&nbsp;|&nbsp;
          <a href='/list/art/1'>文章</a>&nbsp;|&nbsp;
          <a href='/list/hidden/1'>里区</a>&nbsp;|&nbsp;
          <a href='/rank/'>排行榜</a>&nbsp;|&nbsp;
          <a href='/userrank/'>名人堂</a>&nbsp;|&nbsp;
          <a href='/apikey/'>API</a>&nbsp;|&nbsp;
          <a href='/bbs/'>论坛</a>&nbsp;|&nbsp;
          <a href='/static/news.html'>公告</a>&nbsp;|&nbsp;
          <a href='/about/'>关于</a>&nbsp;|&nbsp;
      </td>
      <td width="10" align="right" background="/static/31bg1.gif"><img src="/static/31c2.gif" width="9" height="36"></td>
    </tr>
  </table>

<div id="content" align=center>
	<div id="contet_wrap" align=center>
	
<div id="frs_nav" style="margin-left:150px">
	<div id="frs_nav_wrap">

	<ul>
		<li class="first"></li>
		%if cat=='all':
			<li class="focus"><a href="/bbs/">avfun论坛</a></li>
		%else:
			<li ><a href="/bbs/">avfun论坛</a></li>
			<li class="divide">|</li>
			<li class="focus"><a href="/bbs/list/mark/1">精品区</a></li>
		%endif
	    <li class="last"><a href="#sub" class="icon_add_post diff_tab" title="发表新贴" alt="发表新贴"></a></li>
	</ul>
	<i class="clear"></i>
	</div>
</div>
<div id="content_leftList" style="margin-left:150px">
	<div id="thread_list">
	<table cellspacing="0" cellspacing="0" width="100%" id="thread_list_table" align=center>
		<thead>
			<tr>
			<th width="30">点击</th>
			<th width="30">回复</th>
			<th>标题</th>
			<th width="100">作者</th>
			<th width="135">最后回复</th>
			</tr>
		</thead>
		<tbody>
			<!-- distinct(tid),clicks,replys,title,ifnull(nickname,ip),pubdate,uid -->
			%for i in range(len(thds)):
				%if i % 2 == 0:
					<tr class="thread_alt" tid="${thds[i][0]}">
				%else:
					<tr  tid="${thds[i][0]}">
				%endif
						<td>${thds[i][1]}</td>
						<td>${thds[i][2]}</td>
						<td class="thread_title">
							<a href="/bbs/thread/${thds[i][0]}/1" target="_blank">${thds[i][3]}</a>
						</td>
						<td>&nbsp;&nbsp;<a href="/user/${thds[i][6]}" target="_blank">${thds[i][4]}</a></td>
				<td>${thds[i][5]}</td>
					</tr>
			%endfor
		</tbody>
	</table>
	</div>

	<div id="thread_list_footer">
	共有主题数<span class="red">${threads}</span>个，贴子数<span class="red">${posts}</span>篇，<a href="/user/" target="_blank">会员</a>数<span class="red">${users}</span>
	</div>
				
	<div id="pagebar">

	<div class="pagination">
		%if curpage!=1:
			<a href="/bbs/list/${cat}/1">首页</a>
			<a href="/bbs/list/${cat}/${prevpage}">上一页</a>
		%endif
		%for page in navs:
			%if curpage==page:
				<span class="current">${curpage}</span>
			%else:
				<a href="/bbs/list/${cat}/${page}">${page}</a>
			%endif
		%endfor
		%if curpage!=lastpage:
			<a href="/bbs/list/${cat}/${nextpage}">下一页</a>
			<a href="/bbs/list/${cat}/${lastpage}">尾页</a>
		%endif
	</div>
</div>
<div id="editor" >
	<a name="sub"></a>
	<form id="post" name="post" action="/bbs/post" method="post" onsubmit="/bbs/post" autocomplete="off">
	<div id="edit_parent">
	<table id="post_tb" width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr> 
			<td valign="top" width=50 nowrap>标　题:</td>
			<td>
				<a name="ju"></a>
				<input type="text" id="ti" name="title" size=50 value="" />
			</td>
		</tr>
		<tr> 
			<td valign="top" nowrap>内　容:</td>
			<td>
			<textarea id="textInput" name="content"></textarea>
			<div id="coError" class="postError"></div>
			</td>
		</tr>
		<tr id="post_user"> 
			<td valign="top" nowrap>用户名:</td>
			<td>
				<div class="edit_uname_wrap">
					<label for="post_login"><a href="/user/{uid}">${displayname}</a></label>
					| <a href="/login/">登录</a>
					| <a href="/logout/">退出</a>
				</div>
				<div id="signNamePanel" style="display:none"></div>
			</td>
			<input type=hidden name="displayname" value="${displayname}" />
		</tr>
		<tr> 
			<td>&nbsp;</td>
			<td>
			<input type="submit" name="add_post_submit" id="add_post_submit" value=" 发 表 " />&nbsp;&nbsp;
			</td>
		</tr>
	</table>
	</div>
	</form>
</div>
    <script language="javascript" type="text/javascript" src="http://js.users.51.la/3784709.js"></script>
    <noscript><a href="http://www.51.la/?3784709" target="_blank"><img alt="&#x6211;&#x8981;&#x5566;&#x514D;&#x8D39;&#x7EDF;&#x8BA1;" src="http://img.users.51.la/3784709.asp" style="border:none" /></a></noscript>
</body>
</html>
